package cn.apienvrypt.domain;

import java.io.Serializable;

/**
 * 请求体结构
 *
 * @author lfj
 */
public class RequestDto implements Serializable {
	private static final long serialVersionUID = -1L;

	public static String BODY = "body";
	public static String SIGN = "sign";
	public static String EC = "ec";
	public static String NC = "nc";
	public static String COMMON = "common";
	public static String LAN = "lan";
	public static String DEFAULT_LAN = "zh_CN";

	/**
	 * 加密签名，使用RSA解密
	 */
	private String sign;
	/**
	 * 加密字段，使用AES加密，key为sign中的key
	 */
	private String ec;
	/**
	 * normalContent，不加密字段
	 */
	private String nc;
	/**
	 * 通用信息
	 */
	private String common;
	/**
	 * 语言
	 */
	private String lan;

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getEc() {
		return ec;
	}

	public void setEc(String ec) {
		this.ec = ec;
	}

	public String getNc() {
		return nc;
	}

	public void setNc(String nc) {
		this.nc = nc;
	}

	public String getCommon() {
		return common;
	}

	public void setCommon(String common) {
		this.common = common;
	}

	public String getLan() {
		return lan;
	}

	public void setLan(String lan) {
		this.lan = lan;
	}

}
